package com.sky.service;

import com.sky.dto.ShoppingCartDTO;
import com.sky.entity.ShoppingCart;

import java.util.List;

/**
 * @Description:
 * @author: nianqiang
 * @Version: V1.0
 */
public interface CartService {

		/**
		 * 添加购物车
		 * @param shoppingCartDTO
		 */
		public void add(ShoppingCartDTO shoppingCartDTO);

		/**
		 * 查询我的购物车
		 * @return
		 */
		public List<ShoppingCart> list();

}
